package com.hzgj.bcl.soa.command;

import java.util.Map;

/**
 * Created by Administrator on 2016/8/9.
 */
public interface SoaCommand {

    String secondCommand = "secondCommand";

    String invoke(CommandOptions commandOptions);

    String getName();

    default int getSequence() {
        return 0;
    }

    void start();

    class CommandOptions {
        public Map<String, String[]> params;
    }
}
